﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class BalanceCenter_MenuOffice : PageBase
{
    public string QQ;
    public string MSN;
    public string SiteURL;

    protected void Page_Load(object sender, EventArgs e)
    {
        QQ = PublicFunction.GetOptionsAsString("QQ");
        MSN = PublicFunction.GetOptionsAsString("MSN");
        SiteURL = ShoveEL._Web.Utility.GetSiteUrl();

        Surrogate.Visible = _User.isSurrogate;
        if (!IsPostBack)
        {
            LoadMenu();
        }
    }

    #region Web 窗体设计器生成的代码

    override protected void OnInit(EventArgs e)
    {
        isRequestLogin = true;

        base.OnInit(e);
    }

    #endregion

    private void LoadMenu()
    {
        if (_User.isActivation == false)
        {
            Panel1.Visible = false;
            //Panel2.Visible = false;
        }
    }
}
